package com.wk.springbootlearn.service;
import java.io.InputStream;
import java.util.List;

public interface HDFSService {

    Boolean mkdir(String dirs);

    Boolean upload(String dirs, String fileName, InputStream input);

    Boolean delete(String fileName);

    Boolean rename(String oldStr, String newStr);

    Boolean exists(String fileName);

    InputStream download(String fileName);

    List<String> List(String path);
}
